﻿using Colorful.Furniture.Localization;
using Volo.Abp.Localization;
using Volo.Abp.Modularity;

namespace Colorful.Furniture;

[DependsOn(
    typeof(FurnitureApplicationContractsModule)
)]
public class FurnitureHttpApiModule : AbpModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        ConfigureLocalization();
    }

    private void ConfigureLocalization()
    {
        Configure<AbpLocalizationOptions>(options =>
        {
            options.Resources
                .Get<FurnitureResource>();
        });
    }
}
